package org.way.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;
import org.way.domain.SysUser;

import java.util.Map;

public interface SysUserMapper extends BaseMapper<SysUser> {

    @MapKey("id")
    Map<String, Object> selectMapById(@Param("id") String id);

    IPage<SysUser> selectPageVO(@Param("page") IPage<SysUser> page, @Param("age") Integer age);

}
